﻿using System;
using System.Runtime.Serialization;

using NXDO.Data;
using NXDO.Data.Attribute;

#region 代码说明
/*
 *******************************************************
 *       此段代码由 NXDO.Addin For VS2022 产生  
 *******************************************************
 * File Name:	DaRole.cs
 * Date Time:	2025/10/23 8:30:31
 * OS User:		hippo
 * Anthor:	ITKing(ZhuQi) javasuki@hotmail.com
 * Blog:		http://blog.csdn.net/javasuki
 * Generator:	NXDO.Addin2022 For VisualStudio2022
 * Version:		4.0.60.0
 * -----------------------------------------------------
 */
#endregion


namespace TDM.DbData.DataEntity
{

	/// <summary>
	/// 
	/// </summary>
	[Table]
	public class DaRole : Entity
	{
		[Title("RoleId")]
      [DataMember]
		[Field(FieldFlag.IsKey | FieldFlag.IsAutoValue)]
		public virtual long RoleId
		{
		    get;
		    set;
		}

		[Title("RoleCode")]
      [DataMember]
		[Field]
		public virtual string RoleCode
		{
		    get;
		    set;
		}

		[Title("RoleName")]
      [DataMember]
		[Field]
		public virtual string RoleName
		{
		    get;
		    set;
		}

		[Title("Permssion")]
      [DataMember]
		[Field]
		public virtual string Permssion
		{
		    get;
		    set;
		}

		[Title("IsAdmin")]
      [DataMember]
		[Field]
		public virtual bool IsAdmin
		{
		    get;
		    set;
		}

		[Title("AdminFlag")]
      [DataMember]
		[Field]
		public virtual int AdminFlag
		{
		    get;
		    set;
		}

		[Title("IsSafeOfficer")]
      [DataMember]
		[Field]
		public virtual bool? IsSafeOfficer
		{
		    get;
		    set;
		}

		[Title("IsSafeAudit")]
      [DataMember]
		[Field]
		public virtual bool? IsSafeAudit
		{
		    get;
		    set;
		}

		[Title("GroupRoleID")]
      [DataMember]
		[Field]
		public virtual string GroupRoleID
		{
		    get;
		    set;
		}

		[Title("UpdateTime")]
      [DataMember]
		[Field]
		public virtual DateTime UpdateTime
		{
		    get;
		    set;
		}

		[Title("CreateUID")]
      [DataMember]
		[Field]
		public virtual long CreateUID
		{
		    get;
		    set;
		}

		[Title("CreateTime")]
      [DataMember]
		[Field]
		public virtual DateTime CreateTime
		{
		    get;
		    set;
		}

		[Title("RoleValue")]
      [DataMember]
		[Field]
		public virtual string RoleValue
		{
		    get;
		    set;
		}
	}
}
